<template>
  <div class="demo">
    <h2>学校姓名:{{ name }}</h2>
    <h2>学校年龄:{{ age }}</h2>
  </div>
</template>

<script>
export default {
  // 组件名为大驼峰或者用-连接
  name: "Student",
  data: function () {
    return {
      name: "尚硅谷",
      age: "北京",
    };
  },
};
</script>
